/**
 * Copyright 2023 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@import '../../../styles/variables';

.aboutScreen {
  z-index: 99;

  @media screen and (min-width: $desktop) {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    bottom: 0;
    background: $white;
    overflow: auto;
    scroll-behavior: smooth;
    transition: 400ms ease;
    pointer-events: none;
    opacity: 0;

    &.show {
      pointer-events: initial;
      top: 0;
      opacity: 1;
    }
  }

  h2 {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.025em;
    margin-bottom: 24px;

    @media screen and (min-width: $desktop) {
      font-size: 40px;
      line-height: 64px;
      letter-spacing: -0.05em;
      margin-bottom: 40px;
      margin-top: 20px;
    }
  }

  p {
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: -0.05em;
    margin-bottom: 24px;
    color: $gray;

    @media screen and (min-width: $desktop) {
      font-size: 24px;
      margin-bottom: 40px;
    }
  }

  a {
    color: $orange;
    text-decoration: none;
  }

  img {
    width: 100%;
    height: auto;
    margin-bottom: 24px;
    border-radius: 16px;
    @media screen and (min-width: $desktop) {
      margin-bottom: 40px;
    }
  }

  hr {
    margin-bottom: 24px;
    @media screen and (min-width: $desktop) {
      margin-bottom: 40px;
    }
  }
}
